import Vue from 'vue'
import Vuex from 'vuex'
import product from './modules/product'
import shopcart from './modules/shopcart'
import sendOrder from './modules/sendOrder'
import myUser from './modules/myUser'

Vue.use(Vuex)

const store = new Vuex.Store({
  modules: {
    product,
    shopcart,
    sendOrder,
    myUser,
  },
})

export default store
